﻿<Window x:Class="Kinectinator.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MainWindow" Height="763" Width="1030" Loaded="Window_Loaded_1" Foreground="White" Background="Black" WindowState="Maximized">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="60"/>
            <ColumnDefinition Width="300*"/>
            <ColumnDefinition Width="100*"/>
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="25"/>
            <RowDefinition Height="*"/>
            <RowDefinition Height="150"/>
        </Grid.RowDefinitions>
        <Image x:Name="colorImageDisplay" HorizontalAlignment="Left" Margin="0" VerticalAlignment="Top" Grid.Column="1" Grid.Row="1"/>
        <Canvas Grid.Column="1" Grid.Row="1" x:Name="videoGrid">
            <Image x:Name="crosshair" HorizontalAlignment="Left" Height="113"  Width="113"
               VerticalAlignment="Top" OpacityMask="Black" Source="crosshair2.png" Visibility="Hidden"/>
        </Canvas>
        <Viewbox Stretch="Fill" Grid.Column="2" Margin="0" Grid.Row="1">
        <Grid x:Name="statsGrid">
            <Grid.RowDefinitions>
                <RowDefinition Height="100"/>
                <RowDefinition Height="30"/>
                <RowDefinition Height="30"/>
                <RowDefinition Height="30"/>
                <RowDefinition Height="30"/>
                <RowDefinition Height="30"/>
                <RowDefinition Height="30"/>
                <RowDefinition Height="*"/>
            </Grid.RowDefinitions>
            <Label Content="..."  Grid.Row="1" x:Name="targetStatus" Foreground="#FF2EA61B" FontFamily="Quartz MS" FontSize="16"/>
            <Label Content="..."  Grid.Row="2" x:Name="distance" Foreground="#FF2EA61B" FontFamily="Quartz MS" FontSize="16"/>
            <Label Content="..."  Grid.Row="3" x:Name="xLabel" Foreground="#FF2EA61B" FontFamily="Quartz MS" FontSize="16"/>
            <Label Content="..."  Grid.Row="4" x:Name="yLabel" Foreground="#FF2EA61B" FontFamily="Quartz MS" FontSize="16"/>
                <Label Content="..."  Grid.Row="5" x:Name="heightLabel" Foreground="#FF2EA61B" FontFamily="Quartz MS" FontSize="16"/>
                <Label Content="..."  Grid.Row="6" x:Name="firingLabel" Foreground="#FF2EA61B" FontFamily="Quartz MS" FontSize="16"/>

            </Grid>
        </Viewbox>
        <MediaElement x:Name="soundDeploy" Source="turret_deploy_5.wav" LoadedBehavior="Manual" UnloadedBehavior="Manual"/>
        <MediaElement x:Name="soundLost" Source="turret_search_4.wav" LoadedBehavior="Manual" UnloadedBehavior="Manual"/>
        <MediaElement x:Name="soundFiring" Source="turret_active_4.wav" LoadedBehavior="Manual" UnloadedBehavior="Manual"/>
        <MediaElement x:Name="soundSurrender" Source="turret_surrender.wav" LoadedBehavior="Manual" UnloadedBehavior="Manual"/>
        <MediaElement x:Name="soundArm" Source="turret_activated.wav" LoadedBehavior="Manual" UnloadedBehavior="Manual"/>
        <MediaElement x:Name="soundDisarm" Source="turret_hibernating.wav" LoadedBehavior="Manual" UnloadedBehavior="Manual"/>
    </Grid>
</Window>
